package com.sailfish.springbootdemo.pojo.db4;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class OperateLog {

    private Integer operateId;
    private Integer operateBigType;
    private Integer operatorId;
    private String operateSmallType;
    private Integer operateDataType;
    private Integer operateDataTypeNotes;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date operateTime;
    private String nickNameCn;
    private String operateDomainName;
    private String operateNetworkSeg;
    private String operateIp;

    private User operator;
    public OperateLog() {
    }

    public OperateLog(Integer operateBigType, Integer operatorId, String operateSmallType, Integer operateDataType, Integer operateDataTypeNotes, Date operateTime,
                      String operateDomainName, String operateIp,String operateNetworkSeg) {
        this.operateBigType = operateBigType;
        this.operatorId = operatorId;
        this.operateSmallType = operateSmallType;
        this.operateDataType = operateDataType;
        this.operateDataTypeNotes = operateDataTypeNotes;
        this.operateTime = operateTime;
        this.operateDomainName = operateDomainName;
        this.operateIp = operateIp;
        this.operateNetworkSeg = operateNetworkSeg;
    }
    public Integer getOperateId() {
        return operateId;
    }

    public void setOperateId(Integer operateId) {
        this.operateId = operateId;
    }

    public Integer getOperateBigType() {
        return operateBigType;
    }

    public void setOperateBigType(Integer operateBigType) {
        this.operateBigType = operateBigType;
    }

    public Integer getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Integer operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperateSmallType() {
        return operateSmallType;
    }

    public void setOperateSmallType(String operateSmallType) {
        this.operateSmallType = operateSmallType;
    }

    public Integer getOperateDataType() {
        return operateDataType;
    }

    public void setOperateDataType(Integer operateDataType) {
        this.operateDataType = operateDataType;
    }

    public Integer getOperateDataTypeNotes() {
        return operateDataTypeNotes;
    }

    public void setOperateDataTypeNotes(Integer operateDataTypeNotes) {
        this.operateDataTypeNotes = operateDataTypeNotes;
    }

    public Date getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    public String getNickNameCn() {
        return nickNameCn;
    }

    public void setNickNameCn(String nickNameCn) {
        this.nickNameCn = nickNameCn;
    }

    public String getOperateDomainName() {
        return operateDomainName;
    }

    public void setOperateDomainName(String operateDomainName) {
        this.operateDomainName = operateDomainName;
    }

    public String getOperateNetworkSeg() {
        return operateNetworkSeg;
    }

    public void setOperateNetworkSeg(String operateNetworkSeg) {
        this.operateNetworkSeg = operateNetworkSeg;
    }

    public String getOperateIp() {
        return operateIp;
    }

    public void setOperateIp(String operateIp) {
        this.operateIp = operateIp;
    }

    public User getOperator() {
        return operator;
    }

    public void setOperator(User operator) {
        this.operator = operator;
    }
}
